package top.lilele.adminSystem.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.lilele.adminSystem.entity.AdminProjectEntity;
import top.lilele.adminSystem.vo.ProjectInfoVo;

import java.util.List;

/**
 * @author lilele
 */
@Mapper
public interface AdminProjectMapper extends BaseMapper<AdminProjectEntity> {
    /**
     * 产品-项目-任务列表
     *
     * @param queryWrapper
     * @return
     */
    List<ProjectInfoVo> queryProjectList(@Param(Constants.WRAPPER) QueryWrapper queryWrapper);

    /**
     * 查询产品、项目详情
     *
     * @param queryWrapper
     * @return
     */
    ProjectInfoVo queryProjectDetail(@Param(Constants.WRAPPER) QueryWrapper queryWrapper);
}
